package com.star.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import com.star.model.WeixinModel;

public interface WeixinDao {
	@Select("select wid from t_weixin where wid = #{wid}")
	public String queryWeixin(String wid);

	@Insert("insert into t_weixin (wid,title,source,firstImg,mark,url,gmt_create,gmt_modified) values(#{id},#{title},#{source},#{firstImg},#{mark},#{url},now(),now())")
	public void insertWeixin(WeixinModel model);

}
